package com.ruoyi.edh.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("易订货-购买商品接口实体")
public class EdhShippingGoodsDto {
    /** 购买商品id */
    @ApiModelProperty("购买商品id")
    @NotNull(message = "购买商品id不能未空")
    private Long id;
    /** 购买商品id */
    @ApiModelProperty("购买商品的规格id")
    @NotNull(message = "购买商品的规格id不能未空")
    private Long goodsSpecificationsId;
    /** 购买商品数量 */
    @ApiModelProperty("购买商品数量")
    @NotNull(message = "购买商品数量不能为空")
    private Long quantity;
}
